Skip to content

Conversation

sbrugman
Copy link
Contributor

@sbrugman sbrugman changed the title Document constant check in series DOC: constant check in series Jul 10, 2023
@lithomas1 lithomas1 added the Docs label Jul 10, 2023

.. ipython:: python

v = s.values
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you use .to_numpy() instead of .values in these examples?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@mroeschke mroeschke added this to the 2.1 milestone Jul 12, 2023
@mroeschke mroeschke merged commit be09d66 into pandas-dev:main Jul 12, 2023
@mroeschke
Copy link
Member

Thanks @sbrugman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: series.is_constant
4 participants